[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Calculator (Calculator)
This method subtracts two integers.
Namespace: Calculator
Assembly: Calculator (Calculator)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Subtract ( _ a As Integer, _ b As Integer _ ) As Integer |
| C# |
|---|
public int Subtract ( int a, int b ) |
| C++ |
|---|
public: int Subtract ( int a, int b ) |
Parameters
- a (System.Int32)
- The first number
- b (System.Int32)
- The second number
Return Value
A double representing subtraction of a and b| Subtract(Int32, Int32) | Public method |